package chain_of_responsibility;

/**
 * @Author: linKe
 * @Date: 2022/1/14 22:56
 * @FileName: Filter
 * @version: 1.0
 * @Description: 过滤器接口
 */
public interface Filter {
    /**
     * 过滤器执行放行方法
     *
     * @param request  请求
     * @param response 响应
     * @param chain    链
     */
    public void doFilter(Request request, Response response, FilterChain chain);
}
